import axios from '@/utils/http'

/**
 * 回复留言
 * @param params 
 * @returns 
 */
export function addReply(params: any) {
  return axios({
    url: '/reply/add',
    method: 'post',
    params: params
  })
}
//删除留言
export function delComment(params: any) {
  return axios({
    url: '/comment/del',
    method: 'get',
    params: params
  })
}

//增加留言
export function addComment(params: any) {
  return axios({
    url: '/comment/add',
    method: 'post',
    params: params
  })
}

export function getCommentPage(params: any) {
  return axios({
    url: '/comment/page',
    method: 'get',
    params: params
  })
}


